package com.ruoyi.basebill.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * OMS发货确认分录对象 t_oms_deliverbillentry
 *
 * @author ptt
 * @date 2023-02-10
 */
public class OmsDeliverbillentry extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 父表id */
    private Long parentid;

    /** 项次 */
    @Excel(name = "项次")
    private Long lineno;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String skucode;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String skuname;

    /** 订单数量 */
    @Excel(name = "订单数量")
    private BigDecimal qty;

    /** 实发数量 */
    @Excel(name = "实发数量")
    private BigDecimal shipqty;

    /** 计量单位编码 */
    @Excel(name = "计量单位编码")
    private String unit;

    /** 基本订单数量 */
    @Excel(name = "基本订单数量")
    private BigDecimal baseqty;

    /** 基本实发数量 */
    @Excel(name = "基本实发数量")
    private BigDecimal baseshipqty;

    /** 基本计量单位 */
    @Excel(name = "基本计量单位")
    private String baseunit;

    /** 不含税单价 */
    @Excel(name = "不含税单价")
    private BigDecimal notaxprice;

    /** 不含税总金额 */
    @Excel(name = "不含税总金额")
    private BigDecimal notaxamount;

    /** 含税单价 */
    @Excel(name = "含税单价")
    private BigDecimal taxprice;

    /** 含税总金额 */
    @Excel(name = "含税总金额")
    private BigDecimal taxamount;

    /** 税率（/%） */
    @Excel(name = "税率")
    private BigDecimal taxrate;

    /** 税额 */
    @Excel(name = "税额")
    private BigDecimal tax;

    /** 是否赠品 */
    @Excel(name = "是否赠品")
    private Long isgift;
    @Excel(name = "销售订单")
    private String refordercode;
    @Excel(name = "客户订单号")
    private String customerorder;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setParentid(Long parentid)
    {
        this.parentid = parentid;
    }

    public Long getParentid()
    {
        return parentid;
    }
    public void setLineno(Long lineno)
    {
        this.lineno = lineno;
    }

    public Long getLineno()
    {
        return lineno;
    }
    public void setSkucode(String skucode)
    {
        this.skucode = skucode;
    }

    public String getSkucode()
    {
        return skucode;
    }
    public void setSkuname(String skuname)
    {
        this.skuname = skuname;
    }

    public String getSkuname()
    {
        return skuname;
    }
    public void setQty(BigDecimal qty)
    {
        this.qty = qty;
    }

    public BigDecimal getQty()
    {
        return qty;
    }
    public void setShipqty(BigDecimal shipqty)
    {
        this.shipqty = shipqty;
    }

    public BigDecimal getShipqty()
    {
        return shipqty;
    }
    public void setUnit(String unit)
    {
        this.unit = unit;
    }

    public String getUnit()
    {
        return unit;
    }
    public void setBaseqty(BigDecimal baseqty)
    {
        this.baseqty = baseqty;
    }

    public BigDecimal getBaseqty()
    {
        return baseqty;
    }
    public void setBaseshipqty(BigDecimal baseshipqty)
    {
        this.baseshipqty = baseshipqty;
    }

    public BigDecimal getBaseshipqty()
    {
        return baseshipqty;
    }
    public void setBaseunit(String baseunit)
    {
        this.baseunit = baseunit;
    }

    public String getBaseunit()
    {
        return baseunit;
    }
    public void setNotaxprice(BigDecimal notaxprice)
    {
        this.notaxprice = notaxprice;
    }

    public BigDecimal getNotaxprice()
    {
        return notaxprice;
    }
    public void setNotaxamount(BigDecimal notaxamount)
    {
        this.notaxamount = notaxamount;
    }

    public BigDecimal getNotaxamount()
    {
        return notaxamount;
    }
    public void setTaxprice(BigDecimal taxprice)
    {
        this.taxprice = taxprice;
    }

    public BigDecimal getTaxprice()
    {
        return taxprice;
    }
    public void setTaxamount(BigDecimal taxamount)
    {
        this.taxamount = taxamount;
    }

    public BigDecimal getTaxamount()
    {
        return taxamount;
    }
    public void setTaxrate(BigDecimal taxrate)
    {
        this.taxrate = taxrate;
    }

    public BigDecimal getTaxrate()
    {
        return taxrate;
    }
    public void setTax(BigDecimal tax)
    {
        this.tax = tax;
    }

    public BigDecimal getTax()
    {
        return tax;
    }
    public void setIsgift(Long isgift)
    {
        this.isgift = isgift;
    }

    public Long getIsgift()
    {
        return isgift;
    }

    public String getRefordercode() {
        return refordercode;
    }

    public void setRefordercode(String refordercode) {
        this.refordercode = refordercode;
    }

    public String getCustomerorder() {
        return customerorder;
    }

    public void setCustomerorder(String customerorder) {
        this.customerorder = customerorder;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentid", getParentid())
            .append("lineno", getLineno())
            .append("skucode", getSkucode())
            .append("skuname", getSkuname())
            .append("qty", getQty())
            .append("shipqty", getShipqty())
            .append("unit", getUnit())
            .append("baseqty", getBaseqty())
            .append("baseshipqty", getBaseshipqty())
            .append("baseunit", getBaseunit())
            .append("notaxprice", getNotaxprice())
            .append("notaxamount", getNotaxamount())
            .append("taxprice", getTaxprice())
            .append("taxamount", getTaxamount())
            .append("taxrate", getTaxrate())
            .append("tax", getTax())
            .append("isgift", getIsgift())
                .append("refordercode", getRefordercode())
                .append("customerorder", getCustomerorder())
            .toString();
    }
}
